net/http.Transport.setReqCanceler (method)
6 uses
net/http (current package)
transport.go#L593: t.setReqCanceler(cancelKey, nil)
transport.go#L601: t.setReqCanceler(cancelKey, nil) // not cancelable with CancelRequest
transport.go#L1147: func (t *Transport) setReqCanceler(key cancelKey, fn func(error)) {
transport.go#L1382: t.setReqCanceler(treq.cancelKey, func(error) {})
transport.go#L1387: t.setReqCanceler(treq.cancelKey, func(err error) { cancelc <- err })
transport.go#L2622: pc.t.setReqCanceler(req.cancelKey, nil)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |